9<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ include file="headimport.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>个人信息</title>
</head>

<link rel="stylesheet" href="bootstrap-3.3.7-dist/css/bootstrap.min.css" />
<link rel="stylesheet" href="css/stuinfo.css" />
<script type="text/javascript" src="bootstrap-3.3.7-dist/js/bootstrap.min.js" ></script>
	
	<body>
				<div style="width: 100%;height: 70px;background-color:#E6E6E6; text-align: center;">
			<!--
            	作者：offline
            	时间：2018-06-29
            	描述：未登录显示
            -->
			<!--<a href="#" style="text-decoration: none; line-height: 70px; float: right; margin-right: 12%;">个人注册</a>
			<a href="#" style="text-decoration: none; line-height: 70px; float: right; margin-right: 2%;">企业注册</a>
			<a href="#" style="text-decoration: none; line-height: 70px; float: right; margin-right: 2%;">登录</a>
			-->
			<!--
            	作者：offline
            	时间：2018-06-29
            	描述：登录显示
            -->
            <div id="sysmenu">
           
			<tr style="float: left;">昵称:</tr>&nbsp;&nbsp;
			<tr style="float: left;">${loginStu.stuname }</tr>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			
			<tr style="float: left;">账号：</tr>&nbsp;
			<tr style="float: left;">${loginStu.stuid }</tr>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			<a href="logout.action" style="text-decoration: none; line-height: 70px;">退出登录</a>
			</div>
		</div>
		<div id="centent" >
			<div id="stumeun" ><span>学生信息</span></div>
			<div id="stuinfodiv">
			<table style="width: 100%;height: 100%; border: 1px ridge; text-align: center; ">
			<tr >
					<td class="td11" >照片</td>
					<td class="td2" ><img src="/upload/${loginStu.stuphoto}"/></td>
					<td class="td3" ></td>
				</tr>
				<tr >
					<td class="td1" >姓名</td>
					<td class="td2" >${loginStu.stuname}</td>
					<td class="td3" ></td>
				</tr>
				<tr>
					<td class="td1" >性别</td>
					<td class="td2" >${loginStu.sex}</td>
					<td class="td3" ></td>
				</tr>
				<tr>
					<td class="td1" >出生日期</td>
					<td class="td2" >${loginStu.birthday }</td>
					<td class="td3" ></td>
				</tr>
				<tr>
					<td class="td1" >家庭住址</td>
					<td class="td2" >${loginStu.area}</td>
					<td class="td3" ></td>
				</tr>
				<tr>
					<td class="td1" >获奖证书</td>
					<td class="td2" >
				<c:forEach items="${rewardlist}" var="obj" >
						<a href="scanreward.action?name=${obj.rewname }">${obj.rewname }</a>
				</c:forEach>
					</td>
					<td class="td3" ><a href="addreward.jsp">添加</a></td>
				</tr>
				<tr>
					<td class="td1" >求职意愿</td>
					<td class="td3" name="job">
					<c:forEach items="${joblist}" var = "job">
						<a href="scanjob.action?job=${job.name}">${job.name}</a>
					</c:forEach>
					</td>
					<td class="td3" ><a href="addjob.jsp">添加</a></td>
				</tr>
				<tr>
					<td class="td1" >作品发表</td>
					<td class="td2" name="production">
						<c:forEach items="${prolist}" var = "pro">
							<a href="scanproduction.action?name=${pro.prdname}">${pro.prdname}</a>
						</c:forEach>
					</td>
					<td class="td3" ><a href="addproduction.jsp">添加</a></td>
				</tr>
				<tr>
					<td class="td1" >工作经历</td>
					<td class="td2" >
					<c:forEach items="${workslist }" var="obj">
						<a href="scanwork.action?job=${obj.job}">${obj.job }</a>
					</c:forEach>
					</td>
					<td class="td3" ><a href="addwork.jsp">添加</a></td>
				</tr>
				<tr>
					<td class="td11" >查看成绩</td>					
					<td class="td3" ><a href="personscore.action">查看</a></td>
					<td class="td3" ></td>
				</tr>
				
			</table>
			</div>
		
		
		</div>
							<script type="text/javascript">
$(document).ready(
function () {
//判断显示器的分辨率
var winWidth = document.documentElement.clientWidth;
var winHeight = document.documentElement.clientheight;
//var main = document.getElementById("main");
var main1 = $("#main");
var topic = $("#topic");
var content = $("#content");
var footer = $("#footer");
//alert(main.style.width);
//alert(main1.width());
//main.style.width = (winWidth - 1024)/2 +760 +"px";
main1.css("width", (winWidth - 1024)/2 +760 +"px");
topic.css("width", (winWidth - 1024)/2 +760-22 +"px");
content.css("width", (winWidth - 1024)/2 +760 +"px");
footer.css("width", (winWidth - 1024)/2 +760 +"px");
}
);
</script>
	</body>
</html>